package com.bh.wms.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 出库明细
 *
 * @author GPT
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_outbound_order_detail")
@ApiModel(value = "出库明细", description = "出库单明细")
public class WmsOutboundOrderDetail extends BhtmsBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("出库单ID")
    @Excel(name = "出库单ID")
    private Long outboundOrderId;

    @ApiModelProperty("行号")
    @Excel(name = "行号")
    private Integer lineNo;

    @ApiModelProperty("SKU ID")
    @Excel(name = "SKU ID")
    private Long skuId;

    @ApiModelProperty("批次号")
    @Excel(name = "批次号")
    private String batchNo;

    @ApiModelProperty("计划数量")
    @Excel(name = "计划数量")
    private Integer planQuantity;

    @ApiModelProperty("拣货数量")
    @Excel(name = "拣货数量")
    private Integer pickQuantity;

    @ApiModelProperty("发运数量")
    @Excel(name = "发运数量")
    private Integer shipQuantity;

    @ApiModelProperty("分配货位")
    @Excel(name = "分配货位")
    private Long allocateLocationId;

    @ApiModelProperty("拣货货位")
    @Excel(name = "拣货货位")
    private Long pickLocationId;

    @ApiModelProperty("备注")
    private String remark;
}

